Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@SHJordan
SHJordan / xfce4_wsl2_rdp.md
Last active April 9, 2026 18:33
Setup Ubuntu Desktop (XFCE4) on WSL2 via RDP

Setup Ubuntu Desktop (XFCE4) on WSL2 via RDP

This guide covers how to install the XFCE4 desktop environment on WSL2 (Ubuntu) and connect to it using Windows Remote Desktop.

It specifically addresses two common issues on WSL2:

  1. Black Screen: Caused by incorrect color depth settings.
  2. Session Closing Immediately: Caused by conflicts between XRDP and WSLg environment variables (DBUS / XDG).

1. Update and Install Packages

@heapoutofspace
heapoutofspace / gist:2601639
Created May 5, 2012 11:16
Minecraft 12w18a RC4 & 12w19a HC-256 MITM exploit
#!/bin/env python
# -*- coding: utf-8 -*-
#
# Author: Simon Marti <simon@ceilingcat.ch> @sadimusi
#
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
@PurpleBooth
PurpleBooth / README-Template.md
Last active April 9, 2026 18:25
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites